//
//  HLIMKitMesssageCell.h
//  YueYue
//
//  Created by hulu001 on 2024/1/12.
//

#import <UIKit/UIKit.h>
#import "HLIMMessageCellProtocol.h"
#import "HLChatKit.h"

NS_ASSUME_NONNULL_BEGIN

@interface HLIMKitMesssageCell : UITableViewCell

/// 头像显示
@property (strong, nonatomic) UIImageView *avatarView;

/// 昵称显示
@property (strong, nonatomic) UILabel *nameLabel;

/// 时间显示
@property (strong, nonatomic) UILabel *timeLabel;

/// 读取状态显示：已读未读
@property (strong, nonatomic) UILabel *readStatusLabel;
/// 聊天卡抵扣
@property (strong, nonatomic) QMUILabel *chatCardLabel;

/// 气泡内容view
@property (strong, nonatomic) HLIMKitMessageContentView *bubbleView;
@property (strong, nonatomic) HLIMKitMessageContentView *replyedBubbleView;

@property (nonatomic, strong) UIActivityIndicatorView *traningActivityIndicator;

/// 重发按钮
@property (nonatomic, strong) UIButton *retryButton;
/// 查看原文
@property (nonatomic, strong) UIButton *originButton;
@property (nonatomic, strong) UIButton *putwayButton;

@property (assign, nonatomic) id<HLIMMessageCellProtocol> delegate;

@property (strong, nonatomic) HLIMKitMessageModel *messageModel;

- (void)refreshData:(HLIMKitMessageModel *)messageModel;

- (BOOL)retryButtonHidden;
- (BOOL)activityIndicatorHidden;

@end

NS_ASSUME_NONNULL_END
